package com.cskaoyan.service;


import com.cskaoyan.bean.goods.CatAndBrandVO;
import com.cskaoyan.bean.goods.GoodsListBO;
import com.cskaoyan.bean.goods.GoodsListVO;
import com.cskaoyan.bean.lzp.*;

import com.cskaoyan.bean.Goods;
import com.cskaoyan.bean.Storage;
import com.cskaoyan.bean.goods.*;

import com.cskaoyan.bean.params.BaseParam;

public interface GoodsService {
    GoodsListVO queryGoods(BaseParam baseParam, GoodsListBO goodsListBO);

    CatAndBrandVO queryCategoryAndBrand();

    Integer goodsCount();

    GoodsCategoryVO goodsCategory(Integer id);

    GoodsWxListVO goodsWxList(GoodsWxListBO goodsWxListBO,Integer id);

    GoodsWxRelatedVO goodsWxRelated(Integer id);

    GoodsDetailVO getGoodsDetail(Integer goodsId);

    void updateGoodsDetail(GoodsUpdateBO goodsUpdateBO);

    Integer insertStorage(Storage storage);

    void deleteGoods(Goods goods);

    void insertGoods(GoodsCreateBO goodsCreateBO);

    GoodsWxDetailVO goodsWxDetail(Integer id,Integer userId);
}
